<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>设置</title>
    <link rel="stylesheet" href="//cdn.bootcss.com/weui/0.4.3/style/weui.min.css">
    <link rel="stylesheet" href="//cdn.bootcss.com/jquery-weui/0.8.2/css/jquery-weui.min.css">
    <link rel="stylesheet" type="text/css" href="../css/sideview.css">
	<script src="//cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
	<script src="//cdn.bootcss.com/jquery-weui/0.8.2/js/jquery-weui.min.js"></script>
	<script type="text/javascript" src="../lib/fastclick.js"></script>
	<script type="text/javascript">
		$(function() {
    		FastClick.attach(document.body);
	  	});
	</script>
</head>
<body ontouchstart>
	<div class="sideview-wrap">
		<div class="weui_cell header">
			<div class="weui_cell_hd" id="backview">
				<img src="../img/left.png">
			</div>
		    <div class="weui_cell_bd weui_cell_primary" id="setting_title">
		    	设置
		    </div>
		</div>
		<!-- settings -->
		<div class="setting-list">
			<li id="account">账号与安全</li>
			<li id="aboutApp">关于全唐通</li>
			<li id="thumbUp">给全唐通好评</li>
		</div>
		<div class="setting-logout">
			退出登录
		</div>
		<!-- account -->
		<div class="setting-list itemhide" id="account-link">
			<li id="settingForPhone">手机号</li>
			<li id="settingForPwd">修改密码</li>
		</div>
		<!-- aboutApp -->
		<div class="itemhide" id="aboutApp-link">
			<div class="aboutApp-banner">
				<div class="aboutApp-banner-logo">
					<span></span>
					<p>全唐通</p>
					<p>版本0.0.1</p>
				</div>
			</div>
			<div class="aboutApp-article">
				<h4>关于全唐通</h4>
				<p>全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。全唐通是一款以唐山为中心，致力于方便人们交通的APP。</p>
			</div>
		</div>
		<!-- phone -->
		<div class="item-wrap itemhide" id="account-phone">
			<div class="account-phone-bg">
				<img src="../img/phonenumber.png">
				<p>您当前的手机号为 <span>133****2273</span></p>
				<p>更换后个人信息不变，下次可以使用新手机号登录</p>
			</div>
			<div class="weui_btn weui_btn_primary setting-btn" id="changephone">更换手机号</div>
		</div>
	</div>
	
	<script type="text/javascript" src="../js/sideMenu.js"></script>
	<script type="text/javascript" src="../js/build.js"></script>
	<script type="text/javascript">
		Build.eventClick("#account", function(){
			window.location.search = "?data=account";
		});
		Build.eventClick("#aboutApp", function(){
			window.location.search = "?data=aboutApp";
		});
		Build.eventClick("#thumbUp", function(){
			// window.location.search = "?data=thumbUp";
			$.toast("感谢您的支持");
		});
		Build.eventClick("#settingForPhone", function(){
			window.location.search += "&set=phone";
		});
		Build.eventClick("#settingForPwd", function(){
			window.location.search += "&set=pwd";
		});
		Build.eventClick("#changepwd", function(){
			$.toast("暂不支持更换手机号", "forbidden");
		})
	</script>
</body>
</html>